After I file for divorce, do I have to continue to live in Kansas?

No. Residency is established at the time of filing.