That's kind of toeing the line.... Personally I wouldn't push it. To me, if she was caught while still 17, that's close enough to under age for me. I don't know how others feel about that, so this is just my opinion. As such, I'd say don't do it. Have her be 18 for a week or two before she is captured at least. Don't even have her in captivity while still 17. Hell don't even let the bad guy/pervert/villain/stalker even be watching her and thinking about kidnapping her until she is well past 18.
Again, this is just my opinion, so feel free to do whatever you feel like.