(n)habeas corpusthe civil right to obtain a writ of habeas corpus as protection against illegal imprisonment