The Writ of Habeas Corpus demands that requires a prisoner must go before the court to determine if there is lawful authority to detain the prisoner. A Writ of Habeas Corpus is a motion which is filed most frequently to ensure that a Defendant's imprisonment or detention is not illegal.Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. The term "habeas corpus" is generally used in criminal proceedings to test the legality of a prisoner's detention. You are asking for relief from the conviction or the sentence on the grounds that your conviction or sentence violates the United. This is an important way to show the federal court that you have tried every single way to get out of detention before asking the federal judge to get involved. A writ of habeas corpus is a legal rule that gives a prisoner the right to request court assistance and show that they've been wrongfully imprisoned. File your petition in the Phoenix Division. To bring a habeas claim, incarcerated people in the custody of a tribal court should use 25 U.S.C. § 1303. By contrast, habeas corpus provides a separate avenue for challenging imprisonment.