Two sisters reunited after 18 years in a check out counter.
This sentence is awkward. Were they standing in line at the checkout for 18 years? That's what the sentence says.
While standing in line at the checkout, two sisters reunited after not seeing each other for 18 years.