An ESIC card is valid till the time there is corresponding ESIC benefit available. Further, the eligibility criteria for ESIC benefits depend on the ESIC contribution. That means you can easily claim ESI benefits even after resigning job, provided that the benefit of ESIC is active for that period.