This CRA page has information of who can claim the Eligible Dependant credit:
https://www.canada.ca/en/revenue-agency/services/tax/individuals/topics/about-your-tax-return/tax-return/completing-a-tax-return/deductions-credits-expenses/line-30400-amount-eligible-dependant/you-claim-amount-eligible-dependant.html