26B-5-311. Habeas corpus. The following information is intended to provide guidance on how to successfully file a new civil or miscellaneous case in the District of Utah.A person may petition an appellate court for extraordinary relief referred to in Rule 65B of the Utah Rules of Civil Procedure 65B. 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. The petition must name the custodian as the respondent and state the facts concerning the applicant's custody and include the legal basis for the request. Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. Generally, anyone detained or imprisoned can file a petition for a writ of habeas corpus in the United States. Post-conviction, post-appeal review in the guise of habeas corpus was a Twentieth. And Casetext are not a law firm and do not provide legal advice. Any prisoner, or another person acting on their behalf, may petition the court, or a judge, for a writ of habeas corpus.