To use the fill-in-the-blank habeas form, you must be a person who is currently serving a sentence under a judgment against you in a state court. 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.A 2254 petition must be filed in the federal district court that has jurisdiction over the county where the conviction occurred. Looking for local rules and forms? 1 After that, the prisoner may go back to the Virginia Supreme Court and file a habeas corpus petition. "The absence of clearly established federal law is dispositive under § 2254(d)(1)" and results in the denial of habeas relief.