Maybe it's different in Canada per CSA, and maybe it changes next year, but the current USL rules say:
Rosters
USL rosters may consist of a maximum of 26 players, with 18 designated for each game. Each team is permitted a maximum of five (5) foreign players on its active game-day roster and a maximum of seven (7) foreign players on its master roster. In the PDL and W-League, at least three players in a full 26-player roster must be under 19, in accordance with guidelines set by the USASA and USSF. In the PDL, a maximum of eight (8) players may be over the age of 23.