For how long would you live if you get stabbed in the lung?

Depends. Depends on blood loss, collections of blood or air in the chest that can compress lung, other injuries, and treatment.