Can i do long and short position same time in currency

Can we buy and sell currency futures contract at the same time will the position of bought of them will be considered different or same

For e.g.

20 Aug bought USD currency and on 21 Aug sold USD currency

will bought of them will be considered as a different position or same position

At the end of the day will I be having 2 open position or no position at all

Bought near month currency futures and short next month futures