The Writ of Habeas Corpus demands that requires a prisoner must go before the court to determine if there is lawful authority to detain the prisoner. Local Rule of Civil Procedure (LRCiv) 3.5(a) provides that habeas corpus petitions must be filed on the court-approved form.A federal petition for habeas corpus is filed after a conviction and sentence in state court, and after appeals in state court. A writ of habeas corpus is a legal rule that gives a prisoner the right to request court assistance and show that they've been wrongfully imprisoned. Habeas corpus is a procedural device to bring child custody matters before a court. A habeas petitioner is not entitled to a courtappointed lawyer unless the court grants an evidentiary hearing, but you can always ask. A writ of habeas corpus is a legal rule that gives a prisoner the right to request court assistance and show that they've been wrongfully imprisoned. Arrested in Arizona? Call Today for Help! Since the Military Commissions Act did not constitute a formal suspension of the writ,260 the issue was "whether the statute stripping.