Moving out of Montana is easy. Stopping Montana taxes is a different act, and it happens on paper: Montana keeps treating you as a resident until the record shows otherwise.
On the burden of showing otherwise: Residency in one state is not abandoned until the union of act and intent demonstrates residency established in another, and the individual is expected to support each response with contemporaneously kept records — unsupported, vague, or absent answers do not count in their favour.
There is no day-count to get under. Montana has no day-count residency test. An individual may be a resident where they are domiciled in the state or maintain a permanent place of abode in the state, and the question is decided in light of all facts and circumstances for the tax year. There is no threshold to fall under — the record of act and intent is the whole case. That makes the evidence trail — where the pattern of an actual life points — the entire case. Everything on this page exists to answer one question: if DOR asks, does your record hold?