Lemon laws vary from state to state, but none deal with a vehicle that has been in an accident. Most lemon laws deal with defects while a vehicle is under warranty and it has been in the shop for a certain number of days with the same problem that hasn't been fixed or multiple problems. I believe your beef will be with your insurer for allowing a vehicle to be fixed that should have been totaled in the first place. Hopefully you can get it totaled because trade in as a rule of thumb for a vehicle that has had this much damage is wholesale market value minus about half the repair cost. The good thing about leasing in this case is if the lease company allows the insurer to fix it they have to take it back for the residual value at the end of the lease. On a purchase you take the loss. Good luck, I hope things work out for you.