what is habeas corpus?
Overview. Habeas corpus is a writ that is used to bring a party who has been criminally convicted in state court into federal court. Usually, writs of habeas corpus are used to review the legality of the partyâs arrest, imprisonment, or detention.