Typically, prisoners use it after their challenge to the court of appeals fails. Habeas corpus often serves as a last resort for inmates who insist that the government unjustly imprisoned them.
That either of the justices of the Supreme Court, or a judge of any district court of the United States, in addition to the authority already conferred by law, shall have power to grant writs of habeas corpus in all cases of a prisoner or prisoners, in jail or confinement, where he or they shall be committed or ...
Generally, one cannot file a writ of habeas corpus unless they show the government has detained them. State prisoners cannot file a federal writ unless they exhaust all available state remedies. The federal court will likely dismiss the writ if the defendant fails to exhaust all available remedies.
In a habeas corpus proceeding, the prisoner is the party who brings the lawsuit and is called the “petitioner.” Unlike in a criminal case where the government has the burden of proving its case, the petitioner has the burden of proof in a habeas corpus proceeding.
The court must rule on a petition for writ of habeas corpus within 60 days after the petition is filed. (B) If the court fails to rule on the petition within 60 days of its filing, the petitioner may file a notice and request for ruling.
There are two prerequisites for habeas review: the petitioner must be in custody when the petition is filed, and a prisoner who is held in state government custody must have exhausted all state remedies, including state appellate review.
Habeas corpus has certain limitations. The petitioner must present a prima facie case that a person has been unlawfully restrained. As a procedural remedy, it applies when detention results from neglect of legal process, but not when the lawfulness of the process itself is in question.
The habeas petition must be in writing and signed and verified either by the petitioner seeking relief or by someone acting on his or her behalf. 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.