Yes, you can still be eligible for public benefits even if you’re not a legal resident or citizen.