In the US we have at-will employment, which online people like to only talk about the negatives (employer can fire you at any time without notice), but it goes the other way too: We can quit with no notice. It's still courtesy to give two weeks notice though, to handle transferring work/knowledge.
Over a month seems really long to me.