"Sometimes the things you thought were forever end up only being temporary," the Dancing with the Stars judge said