You will qualify for a Social Security number when you get your visa, so you would be able to join a US-located payroll. This is better than staying on a foreign payroll from a point of view of accessing money, paying taxes, getting locally offering benefits plans, building a US credit score etc.
The IRS will want to tax you on your worldwide income so from a tax point of view it makes no difference where you are paid.