A "residence district" is that portion of a highway and the property contiguous thereto, other than a business district, (a) upon one side of which highway, within a distance of a quarter of a mile, the contiguous property fronting thereon is occupied by 13 or more separate dwelling houses or business structures, or (b) upon both sides of which highway, collectively, within a distance of a quarter of a mile, the contiguous property fronting thereon is occupied by 16 or more separate dwelling houses or business structures. A residence district may be longer than one-quarter of a mile if the above ratio of separate dwelling houses or business structures to the length of the highway exists.
Ca. Veh. Code § 515