does anyone else have a "cat box"?

This is something my family has done for a long time and just now that I have my own place my friends think its weird. Its a cardboard box you put your cat in and close every night so it doesnt run around while everyone is sleeping. In the morning you let it out and feed it and it can be free to run about the day, but at night it goes in the box.