You are unable to claim a credit for taking care of a friend, they would have to be a relative.
The caregiver credit is available for those taking care of a family member, spouse or common law partner.