Usually yes. Quite complicated though as both the IRS site and RC site are not very clear of what you have to do on both countries' tax filing, and you have to declare and specify the treaty number on your tax filing etc. Hire an accountant who knows both US and Canada tax law, but if it's not a large amount of saving, the accountant fee probably will exceed that refund.