Two Houses / Residency

In 2019, I sold a house in North Carolina owned by me and my wife.  We bought a house back in Michigan and the family moved there, but I bought a condo in North Carolina.  What is the best way to file my state taxes in North Carolina and Michigan?  My wife is considered a Michigan part-year resident and I'm considered a North Carolina full year resident.