The immigrants would be allowed to work in the United States for up to six years .