Don't break the law while homeless, and all will be fine. To look up the multitude of laws that apply to EVERYONE (including the homeless), Google state statues and the local municipal code.

Homeless is not a crime. Actions taken by the homeless can be.