Yes. All of your dependants must have a medical exam done by an approved panel physician, regardless of whether or not they’re coming with you to Canada.
All your dependants must have a medical exam done to make sure they’re admissible to Canada. They must be admissible to be able to be sponsored in the future.
Having inadmissible dependants might make you inadmissible for permanent residence.
Learn more about medical exams.