Married College Student (not a dependent of parents) state of residency

My son is married and attending college in Idaho.  He worked in Idaho but also California during the year.  His wife also worked in Idaho.  What state should they be residents of?  They are not planning to stay in Idaho after 1 more year of college.