You refer to the buildings in which people live as housing when you are talking about their standard, price, or availability.
accommodation
a shortage of affordable housing.
廉价住房的短缺。
Poor housing can affect physical and mental health.
劣质住宅会影响身心健康。