Dormitory
A dormitory (originated from the Latin word dormitorium, often abbreviated to dorm,) is a room that sleeps multiple people. It may also refer (in the US) to a building primarily providing sleeping and residential quarters for large numbers of people such as student accommodation for university or college students, or, with reference to military personnel, a barracks.
A building providing sleeping and residential quarters for large numbers of people may also be called a house (members of a religious community or pupils at a boarding school), or a hostel (students, workers or travelers).