This seems more of a military question, but plenty of people drive and live in California with out of state licenses/plates. It is more a question of the particular state that you are referencing. I know Virginia is pretty strict with their licensing, they even have a law stating you must register your vehicle in VA if you have a home for more than 30 days. However I don't know of the reverse situation, as in will they let you keep the VA registration out of state.