A British actor who took her battle against her millionaire husband to the internet has been ordered to leave her New York home by a judge.