¿Cómo configuro el tiempo que dure un estado hasta su vencimiento?