Quail aren't stupid, they just feel safer in a sheltered, familiar area. They're ground dwellers and like to hide. All of mine sleep in the bottom area though they go up on their little ramps during the day. I went for a shallow second storey about 20cm up just to have extra floor space. Small cardboard boxes are most popular with my lot, they all sleep in them and I just replace them when they get too dirty (there's Amazon House, Nike House...
). In their first year, my quail would fly out of their large cages given half a chance, now the doors can be open for ages and they don't bother going outside.
One tip I would give is this: make sure that wherever the quail can get, you can reach, as they may well lay their eggs in the furthest corner!