If you purchase an option, you have the right to exercise it (with an Americanstyleoption as most equities are) at any time in the expiration cycle.
FORBES: Pinning The $500 Tail On The Apple
2.
If both the long and short option positions were in the money then it is advisable, if one has AmericanStyle Options on board, to close out the options before they expire.