I give polyurethane foam at least 3 days before I mess with it. If it's particularly thick, it cold take 1-2 weeks to fully cure down to the core. You should be alright to carve it after about 3 days though.