I'm moving from GA to MA for a few years and must continue claim GA residence to keep my remote job. How do I keep my legal residence as GA but live in MA?

We own a home in GA, and will rent it out to others after we move. We will rent a home in Boston while we are there. My husband will be a MA resident with his new job and my son will go to school in MA. However, I work remotely and can only keep my job if my legal residence is GA. We only intend to stay in Boston for a few years at most.