I don't think you can.
This is from the CEC Manual
"To be eligible for CEC, the applicant must have had temporary resident status during the
period of work which qualifies them for CEC, as well as during any period of full-time
studies or training [R87.1(3)(c)]. Foreign nationals such as refugee claimants in Canada
and undocumented workers, whose work experience would be accumulated while they
have no temporary resident status in Canada, are not eligible for CEC.
Note: A temporary resident permit (TRP) confers temporary resident status and as such,
applicants who obtained their qualifying work experience or post-secondary credentials while
in Canada on a TRP are eligible to apply for CEC. These applicants are eligible as long as
their work and/or studies were authorized. Applicants who are inadmissible cannot be
granted permanent residence as members of the CEC class. "