If you have green card, yes you can. Otherwise you can start to work at your new company whenever you finish your current job.