CCP 3828     

Art. 3828.  Custody pendente lite

If judgment cannot be rendered immediately, the court may award the custody to a proper person until rendition of the judgment.