Car re-registration after removal

Hello, for professional reasons I will move to another county in about 2 weeks. Since I spend most of my time there, this will also be my main residence. I keep the apartment with my parents as a second residence, where I always stay on weekends, during vacations etc. Can I have my car registered at my previous residence (after moving my second residence)? Or do I have to have the car registration mark, insurance and everything that belongs to it. mmelden? The move is only limited in time anyway, i.e. for about 2 years. After that I would have to change the car registration mark again and therefore everything, which is of course associated with considerable costs. The re-registration with main and secondary residence, on the other hand, is fortunately free of charge. Can someone help me there? Or has someone already gone through the same?