If you want to challenge a federal judgment that imposed a sentence to be served in the future, you should file a motion under 28 U.S.C. § 2255 in the federal. 1. The petition for writ of habeas corpus form is designed to help you prepare a petition seeking relief pursuant to 28 U.S.C. § 2254.Habeas corpus is a kind of petition that you can file in federal court to claim that your imprisonment violates federal law. Be fore a federal prisoner can file a second or successive habeas. §2255 motion, a court of appeals must certify it. Upon receipt of the appropriate filing fee or if permission to proceed in forma pauperis has been granted, your petition will be filed if it is in proper order. Federal criminal defense explains a federal Habeas Corpus petition, a legal remedy to protect against someone's unlawful and indefinite imprisonment. 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. Application For Leave To File A Second Or Successive Habeas Corpus Petition Form. With very few exceptions, you only have one chance to file a Georgia habeas corpus petition.