Dont resign until your references are checked
Some companies extend offers that are contingent on a successful completion of reference checks. Until there is a written offer in your hand and your reference checks have been contacted by your future employer, do not give notice at your current job. There are too many variables that can cause the job to fall through, and you dont want to be left jobless.