Notice period means that you will be available to the organization for the stipulated number of days laid down as notice period. Hence, that itself means you will be present for those number of days. So, if you proceed on leave, you are available for fewer days according to the notice period. In that case, the company can deduct the payment against the notice period for those days you want to be on leave.
In case anyone disagrees, please revert back with justification.
With Regards,
Animesh