Do I have to file 2 tax returns if I lived in 2 provinces during the year?

I moved from MB to BC in July 2022.