Being military, the ATF considers that you are a resident of the state you are permanently assigned to (your duty station state).
But that is only per the ATF and does not have to be recognized by other agencies.
Most military are restricted from bringing a CCW on a military base in my immediate area (I live near a couple of Navy bases).
It is still the individual's responsibility to know the state laws on handgun carry in a vehicle. Some states have the "Two move" rule. If it takes two moves (i.e. (1)open the glove box, (2)grab the gun), you can carry a loaded handgun in your vehicle. If it is available in one move (i.e. on the seat, under the seat, on the console), then it is a "no-no".
Then comes the "Castle Doctrine", which opens a whole bunch of things.
"A well regulated Militia, being necessary to the security of a free State, the right of the people to keep and bear Arms, shall not be infringed."
Life Member NRA
Life Member NAHC
Former President of the ECPT (Eifel Combat Pistol Team)