Eligibility for 2-year-olds
Your 2-year-old can get free early education and childcare if you get one of the following:
Income Support
income-based Jobseeker’s Allowance (JSA)
income-related Employment and Support Allowance (ESA)
Universal Credit
tax credits and you have an annual income of under £16,190 before tax
the guaranteed element of State Pension Credit
support through part 6 of the Immigration and Asylum Act
the Working Tax Credit 4-week run on (the payment you get when you stop qualifying for Working Tax Credit)
A child can also get free early education and childcare if any of the following apply:
they’re looked after by a local council
they have a current statement of special education needs (SEN) or an education, health and care (EHC) plan
they get Disability Living Allowance
they’ve left care under a special guardianship order, child arrangements order or adoption.
So no its not just people who don't work