Yes, it does, but that depends on your broker. Some brokers allow the demo accounts to last for 15 days or for as long as 90 days after the last time you logged in.