Establishing Residency in US: NOT for in-state tuition purposes [US citizen currently living outside the US]

I found this document about voter registration which explains that “residency” has different meanings in different contexts. So a person might meet the criteria to be a state resident for voting, but not for income taxes. It would be great to be able to vote in state and local elections as well as federal elections.