This petition must be clearly handwritten in ink or typed. You should exercise care to make sure all answers are true and correct.A completed Declaration Under Uniform Child Custody Jurisdiction and Enforcement Act (UCCJEA) (form FL-105) is attached. 2. This manual explains how someone without a lawyer can file a petition for writ of habeas corpus in the California state courts. In child custody cases, parents or guardians can use the writ of habeas corpus to contest the legality of custody arrangements. There is generally no time limit to file a common law writ petition for mandate or prohibition relief. 60 days is theusual outside time limit. Family Court Services offers mediation services at no cost to parents who want to resolve custody or visitation disputes without filing for a court hearing. Filing an Ex Parte hearing for a change in custody and visitation is extremely difficult. Send petition for writ of habeas corpus and emergency return of child via email, link, or fax.