The answer to your question depends on whether or not you were a legal resident of DC. Is your permanent residence in DC, or was your stay there temporary? If temporary, did you live in DC for 183 days or more during the tax year?
DC and VA have tax reciprocity, but it applies only to legal residents of both jurisdictions.
DC would consider you an actual resident if you lived there 183 days or more during the tax year.
http://otr.cfo.dc.gov/node/383942
**Answers are correct to the best of my ability but do not constitute tax or legal advice.