Worked in DE and Live in MD

Hi, 

I worked in DE and I live MD do I need to file the return for DE as well other then MD ? I mean I need to file a return for both MD and DE?

 

Thanks.