As long as you and your spouse both own the home, they have a right to be on or in the property. Furthermore, your spouse can take action to regain entry if you lock them out. However, certain circumstances may allow your lawyer to file a petition to keep your spouse away from the home.