Keeping coffee grounds the refrigerator does help keep the coffee fresh and tasting better.
My Grandma used to keep her coffee grounds in the refrigerator to keep the coffee fresh.
I leave my coffee on the counter and I don't really notice a difference but if you want to put your coffee grounds in the refrigerator then it can't hurt anything.
But you don't have to refrigerate the coffee grounds.