Pretty easy if you play by the rules..
You just gotta know the rules....first.
I worked in Alaska but had major land holdings in Montana.
I used my Alaskan work address when I would file my federal taxes just to avoid paying Montana state taxes.
My time was divvied up about 50/50, maybe even leaning a bit more toward Alaska, so why not.
Some years went by, all was well until the day I got this letter from the state of Montana looking for $86,000.00 in unpaid state taxes.
I took it to court, I wasn't payin' them no 86 grand.
Since I didn't know the rules first I was able to negotiate my unpaid Montana State taxes down to a lump sum of $30,000.00.
If I'd only rented a apartment or RV lot even in Alaska I wouldn't have had to pay Montana a dime.
I bought my cabin in Alaska shortly after that and proceeded to take the nessasary steps of becoming a legal Alaskan resident.
Resident hunting license and all after 12 months, never filed for my PFD since my length of stay was still a bit shaded.
Haven't paid Montana a penny in state taxes since, they get my share in county property taxes there.
Switched my residency to Florida a few years back for some property tax breaks, probably switch back to Montana some day for resident hunting rights.
I pretty much hunt in Montana every year with a non-res small game and fishing licenses. I just play guide for the kids during Elk season.
One's gotts to know the rules....