It is compulsory to add _MACOSX folder in documentation?

No, if you’re using Windows/Linux, you don’t have to/need to.
These folders are being added automatically for MAC users.

okay, thank you @ki-themes