Depends how you are structuring payment. You couldn’t work directly for the US employer without a US work permit. Most common would be working on a US H1B visa from Canada. If working a as contractor for a US employer you will have to make sure you comply with many of the various language rules that Quebec has. Not familiar with with with all the rules but you’d need to educate yourself on potential requirement as someone who is self-employed.