If you are filing this petition in the superior court, you only need to file the original unless local rules require additional copies. Habeas Corpus, in the Federal Court, is a petition that claims that you are being detained against your US constitutional rights.To get a writ of habeas corpus, you must file a petition for a civil (not criminal) proceeding in either state or federal court. A Writ of Habeas Corpus is a formal legal document which orders a detained person to be brought before the court to decide the legality of their incarceration. Contact an award-winning Writ of Habeas Corpus lawyer today. The Writ of Habeas Corpus protects prison inmates from false imprisonment to ensure people are not thrown into jail unlawfully. Petition for a Writ of Habeas Corpus Under 28 U.S.C. § 2241. Download. Attorney James M. Crawford has extensive experience handling criminal appeals in state and federal courts, as well as petitions for habeas corpus. Appeal following issuance of COA. B. Second or successive petition for a writ of habeas corpus.