Irrespective of broker, you cannot have buy/sell legs in different exchanges. Ex: If you buy in BSE and sell in NSE, you will have to take delivery from BSE, and will bear a short penalty in NSE.
Once the shares are delivered to your demat account, then you can sell them in any exchange, regardless of which exchange you purchased from.