First, you must always explain what type of organization you are working for and where it is located, as the answer to your question depends on that. It also depends on the kind of employee you are talking about, your internal HR rules, and your standing orders.
Leave Records Under the Factory Act
Under the Factory Act, you are required to update the leave records in January of each year with the number of days credited depending on the number of days worked. So if your notice period was any time after January, there is no question of leaves being added to the record for the notice period. If your notice period was partly in December, then it would count, as the number of leave credited would depend on the number of days worked in the previous year, and notice period days are also a part of "days worked."
However, you need to check if your standing orders have any specific requirements on this matter.