Legal here as well. But I only do it if I have to ride along major multi lane thoroughfares. No one walks there anyhow and I feel safer since most vehicles are speeding. If it comes to quiet neighborhood roads I stay off the sidewalks. Also sidewalks are often very bumpy because of shifted and uplifted concrete slabs.