Typically, severance pay is not provided when you resign. However, it may be worth asking if your employer would consider deeming your departure as a downsizing (termination not for cause), which could potentially entitle you to severance pay and unemployment benefits depending on your local laws and regulations.