this is what you should use as it's made for that

3M Duramix NVH Dampening Material - 04274
http://www.autobodytoolmart.com/3m-duramix-nvh-dampening-material-04274-p-16562.aspx

Ideal 2-part urethane product for replacing factory NVH (Noise, Vibration & Harshness) sealants and foams.

Can be applied between roof skins and roof bows, door skins and door intrusion beams or other areas using non-structural type foam materials, providing up to 1" thick layer of flexible material on vertical and overhead applications

Can be applied to a thickness of 1 inch on vertical and overhead surfaces.

Also may be applied over existing damping material as long as the original material is still integrally bonded.
Remains very soft, yet sturdy and will not degrade.

Work time: 60 Minutes @ 77° F
Cure time: 24 Hours @ 77° F