Once I receive my K-1 visa, I plan to move to the US as soon as possible, get married and file for AOS along with an EAD. However, if I have a job with a non-US company that has me working remotely and I can continue to do so after relocating, would it be legal to do so during the period that I'm waiting for an EAD, since it doesn't involve a US company and I could presumably still be paid in my account back home? The job in question wouldn't allow me to take a leave of absence while awaiting the EAD, given the long expected processing times and the uncertainty about exactly how long it would take.