Non-Norwegian here. Isn't Norway one of the richest countries in the world with a strong social support system? So the situations which make somebody homeless in other countries don't apply to Norway?
For example - in USA, I believe that people have to pay for healthcare, and after a certain period of time, no longer get housing benefit support when unemployed (USA person will have to help me here) - so it is possible to be a hard working member of society, but due to illness, get in debt (paying for medicine) and end up homeless (because you can't work, so can't pay your housing bills) so get made homeless, and can't get another place to live because you don't have the money to rent a new place?
If somebody is ill in Norway, do they have to pay for healthcare? if somebody is unemployed, will the state give them financial support to pay their housing costs? If so, you have a very different environment from other countries in the world.