I'm very confused about the residency status of each of the states I lived in, and whether or not I need to file for every state I lived in.

I lived in NJ with my parents from Jan.-March but was NOT working (so I have no income to report for this time period), and I was receiving NJ Medicaid at this time. I then moved temporarily to DC and VA for a paid internship at a company located in DC. I was in DC  first for 153 days, and Virginia for 60 days. My plan was to return to NJ at this point but then I got a formal job offer at the same company (located in DC), so I moved to MD for the remainder of the year. My question is: Do I need to file each of these states (NJ, DC, VA, MD), and if so: what would be the residency status of each? Thanks in advance!!