1. To use this form, you must be a person who is serving a sentence under a judgment against you in a federal 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.It provides an expeditious remedy for correcting erroneous sentences without resort to habeas corpus. The process for filing a 2255 motion can be complex. The attached form is designed to assist you in preparation of a Motion to Vacate, Set Aside or Correct Sentence. 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. Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. A Section 2255 motion must be filed in the district where the prisoner was convicted and sentenced. Habeas Corpus, BLACK'S LAW DICTIONARY (11th ed. To file a Section 2255 motion, you must be in custody and have exhausted all other available legal remedies, such as a direct criminal appeal.