Are they sleeping in the boxes or are you referring to their laying eggs? If it's sleeping, they should be roosting rather than sleeping in nesting boxes.
If it's because they are laying eggs, you won't break them of that. They all like to lay their eggs with the other eggs, so they'll all...