My guys sleep in crates at night. When I'm gone for the day I have a portable pen that I set up around the crates with food , water, toys etc. and I think they spend the time I'm gone in their opened crates sleeping. I like having them confined for their protection and it does protect our home.
I have 2 eldarly yorkies that had the run of the house while I was at work. They developed some bad habits. I know they aren't house trained as well as my one year olds. ( they're sneaky)
It was just something I decided to do when I got my new pups. It seems to be working.