Thanks! I had not seen it as an extra life, but it totally works viewing it as an extra life!
The way I had seen it was that, the purple square is your life. You must sacrifice it to defeat the enemies. When that happens you respawn back at the start, without your life - and if you are caught without it - you die for good.