The pasta will absorb additional sauce as it cooks, causing it to absorb more moisture, but not enough that you can compensate for undercooked pasta. So, though you do not need to undercook pasta for the bake, it doesn't hurt if you cook it al dente (or with just a slight bit of chew).