You may be considered a DC statutory tax resident if you maintain a place of abode in the District of Columbia for 183 days or more during the taxable year, even if your permanent home is elsewhere. This tracker counts days physically recorded in DC. DC rules may also count temporary absences from your DC residence, and domicile can establish residency regardless of the number of days.
https://otr.cfo.dc.gov/book/individual-income-tax-faqs/individual-income-tax-filing
DC Tax Residency
183 days in a calendar year