You can keep a position open as long as you have sufficient margin to maintain it, unless it is a futures contract with an expiration date.