Alaska constitution
Article I: declaration of rights
Section 13

The privilege of the writ of habeas corpus shall not be suspended, unless when in cases of rebellion or actual or imminent invasion, the public safety requires it.