At will applies on a one by one basis - at a certain headcount, WARN legislation applies https://www.dol.gov/agencies/eta/layoffs/warn
And the other part is the "goodwill" you mention - if you jettison people for nothin en masse, word gets out, and make it hard to hire in the future