Yes. But please remember to inform the CRA before you file your tax return. Here is more info: https://www.canada.ca/en/revenue-agency/services/child-family-benefits/update-your-marital-status-canada-revenue-agency.html