Know why your application might get denied.
There are a number of reasons your past may prohibit you from becoming a Canadian citizen.
For instance, the government looks down upon granting citizenship to people who have committed a crime within four years of submitting their application or are on trial for a crime.
It also specifies that people in prison can't use their sentence toward becoming a permanent residence. (That doesn't quite fit with the "intent to reside.")