Does state residency continue while serving as a federal political appointee in DC

I would welcome advice about a potential situation. I am a resident of Washington State. If I were to accept a federal political appointment in Washington DC [non-career, non-permanent] and maintain a residence in Washington State [including drivers license & voter registration], would I remain a resident of WA for federal and state tax filing status? Would I file non-resident returns in DC, VA or MD for federal earnings [wherever I end up renting an apartment while serving in the political job] and be subject to WA state tax regulations for other income including deferred comp payments? Thank you for any advice you can provide -- I appreciate your help.