These are the official forms for use in Family Court proceedings. Petition for a Writ of Habeas Corpus Under 28 U.S.C. § 2241. Download.The procedure for filing a petition for a writ of habeas corpus is spelled out in the CPLR Article 70. To get a writ of habeas corpus, you must file a petition for a civil (not criminal) proceeding in either state or federal court. This online program from Family Legal Care guides you through filling out a Petition for a Writ of Habeas Corpus. The "Great Writ" of habeas corpus is a fundamental right in the Constitution that protects against unlawful and indefinite imprisonment. Law"). 3. Other ways of attacking your conviction include filing an appeal, or a state or federal writ of habeas corpus. Intheblanks form authorizing a filing agent to efile documents on behalf of an individual attorney. First, a U.S.C. § 2254 allows us to file a petition for Habeas Corpus when the client is in custody under sentence of a state court and is in a state prison. 4 Jacqueline Sherman, Interim Chair of NYC Board of Correction, letter, Mar.