Free parking is the problem here, you shouldn't be able to leave your car on the street anywhere for long periods, especially not living in it. If you do this you are taking advantage of the system supported by tax paying owners and renters.
If the cost of the car registration included the true cost of parking on city streets living in your car would likely be much less attractive for these people who can afford housing but simply choose not to.