Distillation in the presence of moving sorbents