Ortiz should be following all our laws, including those that relate to employment. You work here, you pay into social security. If during his time in the US he pays what ever debt is required and obtains legal status, and pays into social security the same as any other legal resident to the required amount, then yes he should be eligible to receive those benefits.
.
To me these all all separate issues, and should be resolved as such.