While it is not required to remove the headliner of the car to bond it with another material, it would make the job much easier if you do. Just take out the screws to detach it from its clips. You can use a flathead screwdriver to pry it off. You can apply the adhesive to the headliner and the foam below it.