Short answer: depends on your state laws.
Long answer
not a lawyer/this is not legal advice etc.:
Apologies if I come off especially nitpicky...law school has done that to me...but I think the phrase "temporary domicile" is a source of confusion here.
Domicile is your
permanent legal residence Temporary domicile is harder to define because, while the concept exists in all states, it's not always called the same thing.
For example, Utah has a statutory definition of Temporary Domicile as:
the principal place of abode within Utah of a person who does not have a present intention to continue residency within Utah permanently or indefinitely." Maine, on the other hand, does not define Temporary Domicile. Not only that, Maine does have a single statute that even contains the phrase. Instead, Maine law establishes minimum requirement for domicile and Maine tax regulations interpret those as "Statutory Residency" (you must spend 183+ days in state
and "maintain a permanent place of abode"). Note the similar language between Utah and Maine. And to make things even more confusing courts sometimes have to differentiate between "place of passing respite" and “abode” which requires an
overnight stay. My understanding is that hotels, like any business can (where legal under state law) prohibit guests from carrying firearms if they want to. At least one
Marriott does this. A bit of a tangent,
but you likely have less right to privacy in a hotel room than in a tent. Anyway, point being that every state is going to be obnoxiously different and because they might not even use the same term to define "place I am spending the night" figuring out what the law actually is can be ridiculous.
This clusterfuck of confusion is probably why, as OlongJohnson pointed out, some states specifically passed laws about firearms in campsites.
Anyway, I have research database access and am actively procrastinating from writing a paper so hit me up with a state and I'll did up some case law if anyone is curious.