No, after 24 hours, there will be no toxic chemicals or gasses present.  Be sure to check with your installer, but the only thing you should need to be worried about is keeping your pets out of the attic for the first day after installation.  Typically pets don’t have access to this area anyway, but you do want to make sure they aren’t able to chew on the expanded foam and possibly ingest it.