General term for a place to stay, such as a hotel, inn, or dormitory. Often used in compound words like 宿舎費 (lodging expenses).
Have you already booked accommodation for the trip?
housing (for government employees)
Specifically refers to housing provided for government officials, police, or military personnel. Often used in official contexts.
警察官は官舎という宿舎に住んでいる。
Police officers live in official housing called 官舎.
During the tournament, the athletes stayed at lodging near the gymnasium.
The company provides housing for new employees.
Along with his transfer, he moved into the company housing.