Strong and healthy cats are more likely to be worms-free sooner. On the other hand, cats with weakened immune systems, and ones that have some additional diseases, might recover from worms for a longer period of time
You need to be aware that using a home remedy for worms is not a guarantee your cat will soon be free of worms. Therefore, the better idea is always to consult your vet on the type of dewormer that will help your cat sooner and that will be safer for her.
A cat might cat got reinfected! Maybe you have not isolated your cat from other animals inside your home, or, perhaps she went hunting, and picked up worms once again. In this case, she'll need to receive a second round of deworming medication.