More than one million undocumented migrants in Spain have applied for legal status under a vast regularisation scheme launched in April that grants those eligible the right to live and work in the country. The window to apply for the programme closes Tuesday.