It tests the legality of a detention or a restraint and the goal is to use it really almost i guess it's an emergency basis. Who May Use This Form.You are asking for relief from the conviction or the sentence on the grounds that your conviction or sentence violates the United. The "Great Writ" of habeas corpus is a fundamental right in the Constitution that protects against unlawful and indefinite imprisonment. Because the purpose of the petition is to gain the release of an unlawfully detained person, the reasons that justify the writ are narrowly defined. The motion used to file is called a Writ of Habeas Corpus, and it is most frequently used to ensure that a person's commitment or arrest falls within the laws. Eventually two developments stimulated new growth in the use of the writ. You can use it during trial to help you present your case to the judge, so it is important that you fill it out as thoroughly as possible. Following affirmance of his conviction for aggravated driving under influence of intoxicating liquor, state prisoner filed petition for writ of habeas corpus. • Fill out the registration form and submit.