I worked active duty military in 2016 until July of that year, stationed outside of Oregon, returned to Oregon and claimed unemployment, do I use form 40N or 40P state?

I was listed as an Oregon state resident for all of 2016, but all my military wages were earned out of state, and the only income I received while in state was unemployment, which form do I use, 40N or 40P?