It really depends on individual case. Some people say that you must live in Canada for more than 5 years to be able to get level I security clearance, but I know people who got the clearance who have lived here for less than 5 years. No one really knows the criteria of granting or denying a clearance application.