If you want to challenge your immigration detention or other immigration related issues, you should use the form Petition for a Writ of Habeas Corpus under 28. This Chapter discusses how the writ of habeas corpus is applied in three states: Florida, New York, and Michigan.Habeas Corpus, in the Federal Court, is a petition that claims that you are being detained against your US constitutional rights. If you are filing this petition in the superior court, you only need to file the original unless local rules require additional copies. A petition for writ of habeas corpus is presumptively timely if filed within 36 months after appointment of habeas corpus counsel. Contact an award-winning Writ of Habeas Corpus lawyer today. General Forms ; GF-21a. Address Confidentiality Order. The Writ of Habeas Corpus protects prison inmates from false imprisonment to ensure people are not thrown into jail unlawfully. A Writ of Habeas Corpus is a civil proceeding that is available in both State and Federal Court to challenge the legality of imprisonment.