For people living on the fringe of society, the line between the safety and security of a home and homelessness, is very thin.