1017 is for applying PR in Canada. If your spouse is living in Canada you could fill that. But if your spouse is living outside, say in India, you fill Appendix C.
Sp there are basically two different processes.
1) Applying within in Canada (/english/information/applications/spouse.asp). It...