You do not have to be separated at all before you file a divorce petition. However, there is a mandatory six month waiting period between when you file the petition and when a judge will issue a final judgment.