(735 ILCS 5/10-102)
(from Ch. 110, par. 10-102)
Who may file.
Every person imprisoned or
otherwise restrained of his or her liberty, except as herein otherwise
provided, may apply for habeas corpus in the manner provided
in Article X of this Act, to obtain relief from such imprisonment or restraint, if it
prove to be unlawful.
(Source: P.A. 82-280.)