Do we need to change our residence to US foreign territory if we lived in Illinois from jan-april and now are stationed in Japan?

Military family, lived in Illinois from Jan-Apr and then PCSed to Japan. Married filing jointly, income for spouse from Jan-Apr.