Yes.. You can get H1-B visa stamp from Canada or Mexico.
For that, you need to prove that you were never out of status
in USA.. i.e. you need to take all your documents.. I-20 forms.. etc..
You also need a support letter from your employer and all your
current documents (notice from INS), and your pay stubs...