Yes, your value code remains active until you complete a successful transaction. The funds associated with the value code also remain available until that time.