U-turns in residential districts are legal:

U-turns are permitted in residential areas if there are no vehicles approaching within 200 feet. They are also permitted when a traffic sign, light, or signal protects you from approaching vehicles.

Wait, before you go

Ace Your California DMV Written Test with our Guaranteed Cheat Sheet