You parents should also already have ss# or tax id. If they didn't get it before out of status, IRS would not issue it. See my other post on the definition of US resident for tax purpose.