Yes, a director can voluntarily resign. The notice of resignation must be served to company stating reason of resignation. Also, the resigning director needs to file a form for intimation to MCA about his resignation from company.