Application And Writ Of Habeas Corpus Ad Prosequendum PDF, 204 KB. These files may not be suitable for users of assistive technology. A petition for a writ of habeas corpus may be filed with a superior court judge or with either appellate court. NCcourts.gov.Petition for Writ of Habeas Corpus. Forms Find a national federal court form that can be used in all federal courts. This document is a collection of links to fillable forms that are available on NC Administrative Office of the Courts or AOC. A habeas corpus petition is used to argue that a person is being unlawfully held in custody, and should be released. 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. • Read the entire form before answering any questions. The Administrative Office of the Court forms do not include a Complaint form. A federal judge has denied NASCAR's motions to dismiss an antitrust lawsuit filed against the stock car series.