Eligibility conditions are described in Annex B of the Work Programme General Annexes. Various European and non-EU/non-Associated Countries, among others, are eligible.
For other eligibility criteria, see https://ec.europa.eu/info/funding-tenders/opportunities/portal/screen/opportunities/topic-details/HORIZON-CL5-2024-D3-02-11.