It depends on the image to which you flashed TWRP. If you installed it permanently (flashed it to the recovery image), then TWRP won't be affected.
In your case, if you want TWRP to stay, if it was flashed to the recovery image, then you'll be fine regardless of what ROMs you install...