In my area, riding on the sidewalk is illegal. That being said, I've never heard of a ticket being issued. Use common sense. Duh. Only use the sidewalk in extreme or very brief circumstances and always go slow. If a cop comes by to discuss, you can always tickle him.