Yes, you can still claim your partner for the spousal amount. However, you’ll only get the amount for the time that you were together.
If you have TurboTax Live Assist & Review, here is how to talk to a Tax Expert: https://turbotax.community.intuit.ca/community/navigating-turbotax/help/i-m-using-turbotax-live-assist-review-how-do-i-talk-to-a-tax-expert/00/873764