I think it is better to keep your current job while searching. Unless you've got something else to do in the meantime that involves gaining some skills etc.. or you're confident of getting something else before your notice period runs out then quitting isn't necessarily a good idea.