Really depends, OP
For your own safety, mount the sidewalk as little as possible. You're gonna get hooked and die.
Use your best judgment.
As far as cities? I fucking need you to ride in the street, sorry, there are too many people and the speed difference is annoying at best, dangerous at worst. There really are little old ladies and shit walking around.