it says all you need is SS card for first permit, nothing about residency.
I was told that Social Security cards can be obtained only by citizens & permanent residents. Perhaps there are some other situations (work permits?), but I didn't enquire about that.