The detachment thing is more about being your own person. Detachment is actually healthy IN a relationships at times. So, think of it as a practice that will benefit you either way.
Like I said, you could still love her. No one expects you to turn off a light switch. We never turn off switches for some people and can still move on with our own lives where we determine our feelings and actions, not that person.