NO. It is not mandatory to mention the names of 1st directors in the AOA of the company.
According to S.254 - In default of and subject to any regulations in the articles of a company, subscribers to MOA, who are individuals, shall be deemed to be the directors of the company, until the directors are duly appointed in accordance with S.255.
The provisions as said above will give rise to 3 cases.
1) The directors are named in the AOA :
If the 1st directors are named in the articles, then they are shall be the 1st directors and S.254 will not apply.
2) The directors are not named in the AOA, but the articles prescribe the manner of appointment of 1st directors :
In this case, the 1st directors will be determined in the manner provided in the AOA and S.254 will not apply.
3) The AOA does not contain any provision for appointment of 1st directors :
In this case the provisions of S.254 will apply, i.e, all the subscribers to the MOA , who are individuals, are deemed to be the 1st directors till the directors are duly appointed in a general meeting under S.255.
So it is not mandatory to mention the names of 1st directors in the AOA.
Hope your query is clarified.