The motion used to file is called a Writ of Habeas Corpus, and it is most frequently used to ensure that a person's commitment or arrest falls within the laws. Habeas corpus is a kind of petition that you can file in federal court to claim that your imprisonment violates federal law.Petitioner Jim Fitch, presently confined in the Arizona State Prison Complex in. A 2254 petition must be filed in the federal district court that has jurisdiction over the county where the conviction occurred. It is important to note, however, that within the federal system a PCR is commonly understood to be a USC §2254 or a USC §2255. Habeas Corpus in Arizona. Arrested in Arizona? Filing in limited or general jurisdiction. A 2254 petition must be filed in the federal district court that has jurisdiction over the county where the conviction occurred.