If I worked in MD while a AL resident (but only lived in MD for 4 months) then became a resident of VA that year, do I qualify for reciprocity?

I maintained permanent residence in AL, but was on extended work travel to MD.  After 5 months, while continuing to work in Maryland, I moved my abode (stuff and sleeping ect.) to VA and started commuting to MD for work.  All of the above was while continuing to be a AL resident. 

In October I became a VA resident and began working in VA.  Since my time of abode is less than 6 months, and I'm now a VA resident does reciprocity apply?