This is from CIC webpage:
Prohibitions
If you have committed a crime in or outside Canada, you may not be eligible to become a Canadian citizen for a period of time. This includes if you:
are serving a sentence outside Canada
are in prison, on parole or on probation in Canada
are charged...