it is doubtful you will be able to transfer it to a canadian account, unless the company you have the fund with also has canadian funds.
you can certainly have an active 401k while being a resident in canada and you can continue to contribute to it without issue, so if it's making you money then why not just leave it as is? if you decide to pull it, you will want to make sure there aren't any penalties to do so.