This probably depends a lot on what is in the final judgement or final divorce order that you will get in court. You need to make sure that your lawyer puts in language that you alone get possession of the house and a date that she needs to be out by. In most jurisdictions the cops will only get involved with a very clear order, and at that point you would have the right to change the locks. This may not effect who has interest or ownership of the house, the judge needs to deal with that issue and who has responsibility for the mortgage also. Remember there is a difference between who is owner, on the deed, and who the mortgage company will come after, they are not bound by divorce orders.