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. 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.This document is a petition for a writ of habeas corpus filed in a Virginia court. In this application form: 1. Entertain a petition for a writ of habeas corpus and history bears this out, as the court has yet to reach the merits of a petition since 1986.25. (a) Form of petition; copies. (The district clerk of the county of conviction will fill in this blank.) IN THE COURT OF CRIMINAL APPEALS OF TEXAS. You must file your petition in the district in which you were convicted and sentenced. All fields within the form that can be edited will be highlighted in grey. Must file separate motions as to each judgment in the appropriate district.