A lis pendens lasts until the lawsuit is settled. That can be months or years, depending on the case. And a seller can’t avoid a lawsuit by selling their property.