Foam in a can is open cell foam, if you use it as you intend to do, open cell isn't water resistant, and with drilling holes in the pvc, your creating a drain tile that will hold and absorb water, totally defeating your process completely.
I'd recommend the insulated pipe such as logstor but if your determined to use pvc, take some boards and drill holes in them, cut them into a circle to fit into the pvc and use those to hold the lines centered, drill your holes and before your done, wrap the holes in the pvc up completely with tile tape, not duct tape or anything else, tile tape is water resistant and won't rot or decay under ground or let water into the holes in the line. Glue the pvc together very well and then wrap those couplers in tile tape as well. You'll also need at least six inch pvc, not four inch because open cell foam has half the insulation value per inch as closed cell foam, or if you use four inch pvc, you line has half the insulation as logstor does. Where it comes up by the furnace, either have it come directly into the insulation/protected area of the furnace or if it has to come up outside, make sure you have an angle fitting on the line, to keep water and moisture out of the line, open cell won't shed water if you have the opening facing upwards and rain gets into it. With all the costs involved I can't imagine its cheaper than logstor, not to mention your time involved. Before I'd do that I'd buy the five wrap line that badger pipe sells but that's just me.