For a departing domiciliary the number is 30 days, not 183
Section 143.101 keeps a Missouri domiciliary a resident unless three things hold at once: no permanent place of abode kept in Missouri, a permanent place of abode kept elsewhere, and no more than 30 days spent in the state during the year. Two out of three leaves resident status in place.
Source ↗