Is it legal to park a car on a public road?

Sure ... however any posted signs that indicate time limits for parking must be obeyed. Some cities have rules governing overnight parking on streets that they govern, or place restrictions on certain sized vehicles like RV's and trucks.