if your order is posted and someone takes it yes you would be providing liquidity. if you hit someone else's offer, perhaps because the market moved before you submitted the bid or there is a hidden offer parked there, you would be taking liquidity.
I almost always try & provide liquidity but inevitably the above occurs about 10-12% of the time (using ARCA, BATS & INST).