Gov. J.B. Pritzker signed legislation Thursday that makes feminine hygiene products available for free at homeless shelters and at public universities and community colleges throughout Illinois.