was resident in Canada at the end of the taxation year or, if the individual died in the year, was resident in Canada immediately before his or her death;
did not reach age 18 before the end of the year and has a parent resident in Canada at any time in the year.