Is it OK to get a compliment from a co-worker?

Nothing sexually explicit, just a nice compliment. Slightly flirty in tone.

Where would you place the limit?

Updates
10 mo
Just an update. The comment wasn't 'I like your dress', it was 'you look great in that dress'. I think there's a slight difference in meaning. I don't think there was another intention involved, but I might be too naive.
Is it OK to get a compliment from a co-worker?
Post Opinion