Norwegian prisons are better than real apartments or houses! I would imagine that is a problem there because poor people would just do a small crime to get into jail, and live better than they did pre-jail. Do the norwegian jails cost a lot to maintain by the government? I assume so.
I think, and I hope a Norwegian person will correct me if I'm wrong, that Norway has a strong social system, also the jobless rates are quite low, so in general people are fine
Edit: also it seems that not all prison in Norway like that, there is only one prison to my knowledge like that, but that of course doesn't change the fact that Norway has a more human approach to prisoners and prepare them for their prison exit