Cal. Welf. & Inst. Code § 928
Whenever the minor is not employed and between the hours or periods of employment, he shall be confined in a juvenile detention facility unless the court or administrator directs otherwise.