I got H1B approval and received I-797, can i resign my job in india now and start preparing for interview?

HI,

I am from india , i got my H1B petition approval and also got I - 797.
Is that necessary to stay in job while attending my H1B visa interview?