In my time ('66-'77) there weren't any spare married quarters. You had to wait months in the queue to get one. In many cases ever came available and you'd end up in a "hiring" for the tour.
..because half of one room was on day shift and were at work, and the other half were sleeping off nights and were still in bed...
The Navy have the answer. "Hot Bunking" - one bed, two men. One on night shift the other on days. Simples. Innit?