No, you do not have to move out of your house if you file for divorce, in fact, many spouses continue to live under the same roof during the pendency of their divorce proceeding.
If my spouse moved out of our house, is the house automatically mine in the divorce?
No. The house is not automatically yours if your spouse moves out during the divorce. Unless you owned your house individually prior to the marriage, and it has been categorized as your individual, premarital property, what happens to the house will be part of an overall division of your marital estate which includes real property (houses), and other assets acquired by you and your spouse during your marriage. Absent special circumstances, Michigan law calls for an equitable (not necessary equal) division of the marital estate.