If you meet the residency requirements for divorce in whatever state you're talking about, you can divorce in that state.