Sobre o habeas corpus é correto afirmar: