If you have renewed your driving license online, then you must have received its receipt copy and you will get a temporary DL by post within 2 days so that you can drive for some time. But it is considered illegal to drive with an expired DL, for this, you can also be considered a criminal.