(1) Generally habeas lies when immediate release from confinement is at issue. What we are talking about, of course, is habeas corpus, a Latin phrase meaning "you should have the body.The writ of habeas corpus is a legal order requiring a person holding another person to produce that individual before a court or judge. Habeas corpus is an appeal to the federal courts for wrongful conviction and unconstitutional imprisonment.