The privilege of the writ of habeas corpus shall not be suspended, unless when in the case of rebellion or invasion the public safety may require it. Your habeas corpus petition must be filed within the 1-year statute of limitations time limit set forth in 28 U.S.C. § 2244(d)(1).Petition for a Writ of Habeas Corpus under 28 USC § 2241. Form: PDF icon AO242.pdf. This rule implements Section 6502(b) of the Judicial Code as it applies to the venue for petitions for writs of habeas corpus in criminal matters. Our legal team has decades of combined practice in this field of law. Want to file your habeas corpus? Habeas corpus, in other words, is a petition that asks the court to completely dismiss the charges against you over the Prosecutor's objection. You must file a petition for habeas corpus under under 28 USC § 2254 petition in the District Court for the region in which you were convicted. The petition for writ of habeas corpus challenging the legality of the juvenile's detention or placement shall be filed with the clerk of courts.