First thing is why you are resigning?
Second- notice period is depend on various factors:
1) are you serving in the probation period or you are a confirm employee?
2) notice period depends on the company policy...
3) your designation also defined the notice period
Refer you appointment letter/offer letter.
Please provide me the details of you and of company.
12th February 2012 From India, Pune