how long do you have to be separated before divorce is automatic?