Cal. Welf. & Inst. Code § 11254
(a) Subject to subdivision (b), in the case of any individual who is under the age of 18 years and has never married, and who is pregnant or has a dependent child in his or her care:
(b) Subdivision (a) does not apply in any of the following circumstances: