do you have to get a divorce in the state you were married
Where you get a divorce doesn't depend on where you got married. It depends on where you live at the time you file. The state where you file must have jurisdiction over your matter to grant you a divorce, and this is legally achieved if you live there. You can also usually file in the state where your spouse resides.