I dont think it will be an issue
Do not forget to mention complete details of this in the application form - there is a section in it rgaeding this
Also, most importantly u should not be convicted of any crimes of illegal things while illegal stay in USA
Canada and US r 2 seperate countries and even if u r illegal in canada u can apply after 2 years so US should not be an issue
Good luck