Of course, you can. However, you must have stayed in Canada for a few years before you can apply.