Its also very expensive to be homeless. There is no legal place to loiter or park your car. Even teh public spaces are strictly enforced with no loitering. Where I live anyways, public space is highly protected. If you dont have a private space you can do go, you are forced to constantly be nomadic going from one place to the next until you tire and cannot run away from the enforcement authorities and are jailed. When you exit jail, there is a halfway house or something you are allowed to go in, but thats only temporary and only if you have addiction problems.
This is why a lot of homeless will (try) to get a (cheap) smartphone. It won't have a cell connection, but they can just have it in front of them so they "aren't loitering, they were looking at their phone".
Yes, this is BS that they have to do this to avoid issues, and some cops just don't care.