Do i need to file two state returns if i only worked in one state

I lived and worked in Idaho for 6 months, then moved to Oregon and did not work or have any income the rest of the year. Do I need to file state returns in Idaho and Oregon, or only Oregon?