Do I count all National Guard income as being earned in my state?

I have a W-2 from the national guard, I was out of the state for 6 months for training, do I count this total income as being earned in my state?