If the spouses have been legally separated for a specified period, the majority of state courts will automatically grant a divorce decree. That period is usually one to two years, depending on the state.