Assuming you find an employer willing to let you do so and are legally able to, how difficult are the logistics of living and working remotely (long-term) from another country while employed in the U.S. (e.g., as a software engineer)?