As soon as those words are uttered and the husband had the intention of divorcing her by using those words, then the divorce will occur. The occurrance of the divorce is not contingent upon her leaving the house.
Jazaka-Allah Khaira for your post Maulana. I wanted a clarification on the above. Does she have to leave the house for the talaq to occur or is it simply dependent on the situation plus the intention?