Amid housing crisis, jail seen as preferable to living on the street