A habeas corpus petition attacking a criminal conviction or sentence shall be filed within two years from the date of final judgment in the trial court. To use this form, you must be a person who is or will be serving a sentence under a judgment against you in a state court.— This Court may act on any petition for a writ of habeas corpus, mandamus, or prohibition before a responsive pleading or reply of the petitioner is filed. The federal habeas petition has to be filed in the United States District Court that sits in the District covering the circuit court of conviction and sentence. This petition, called a writ of Habeas Corpus, is filed in Federal Court (US District Court ) whether you are serving time in a federal or state prison. 2d 1 (1999) (concluding that petitioner who had failed to file an appeal with state supreme court in a timely fashion barred federal habeas review); Coleman v. 3 If the circuit court denies petitioner's writ of habeas corpus, the defendant may appeal to the Supreme Court of Virginia. VA. CODE § 53-4A-1 FOR WRIT OF HABEAS CORPUS. STATE OF WEST VIRGINIA. County. Name. Federal courts can hear challenges to state criminal convictions pursuant to petitions for a writ of habeas corpus.