In some towns it is illegal to block the sidewalk with your vehicle. One man got a ticket for blocking a place where a sidewalk would have been if there had been a sidewalk.
In another town, it was illegal to park on the street. Many homes had narrow driveways going to a garage in the back yard. Most of these laws went on the books back in the 1920s.
If you’re blocking the sidewalk, that’s a different story, especially if the city maintains the sidewalk. But no sidewalk is going to be 30 ft. from the street.