Yes, once you put resignation, that means you want to leave willingly. Now as per the employment contract you are obligated to serve notice period. The employer can waive off the notice if they want. In that case they do not need to pay you.
Second scenario is that employer wants to terminate you, then they have to give you pay equal to the notice period at least.
So, never put papers under pressure from hr/management. They are just trying to get away from paying the notice pay/ severence.