You cannot drive continuously on Highway 1 from Santa Monica to San Francisco. California State Route 1 runs along the coast but ends near Santa Barbara (at US-101). The central coast segment through Big Sur connects to the northern segment near San Luis Obispo, but there is a gap.
To drive the full coastal route, you must:
Total distance ~380 miles; allow 7–10 hours plus stops.