The first is that you must file your petition within one year of exhausting your direct appeal. These rules govern a petition for a writ of habeas corpus filed.2 in a United States district court under 28 U.S.C. § 2254 by: 3. 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 civil proceeding that is available in both State and Federal Court to challenge the legality of imprisonment. The office may only represent persons who are indigent, that is, persons who lack independent resources sufficient to enable them to retain. Pursuant to the inherent powers of the Court and Article VI, Section IX, Paragraph I of the. Petition for habeas corpus must be filed in county of petitioner's conviction. The purpose of this manual is to aid you, proceeding pro se, in preparing pleadings to file with the Supreme Court. The court exercises original jurisdiction in quo warranto, mandamus, habeas corpus, prohibition, and procedendo.