Do you live in Morocco now?
Naturalisation needs five years of habitual, lawful residence in Morocco immediately before you apply. If either of your parents is Moroccan, you may already be Moroccan by descent, which needs no residence; our Morocco citizenship by descent quiz covers it.