We have our lily in the garden and it has now become 12.
It needs enough water to keep soil moist, but should never sit in soggy soil.
https://www.gardeningknowhow.com/ornamental/bulbs/pineapple-lily/growing-pineapple-lilies.htm
do you remove the leaves and flowers on a pineapple lily for the winter and leave the bulbs in the pots
You will want to leave them until they die back as much as possible. Do not cut them while they are still alive, since that will destroy their ability to store energy for next year's growth.
Once they are almost dead enough to cut back, you can dig them up and winter them indoors. Here are some articles that will help:
https://www.gardeningknowhow.com/ornamental/bulbs/pineapple-lily/growing-pineapple-lilies.htm
It has been with me about 5 years and finally bloomed.
If you do so, you will need to dig it up every year. It is not hardy in your area. I would recommend keeping this one in container.
Should you choose to transplant it outdoors, You will need to do so after all chances of frost are gone. You will need to dig it back up after the first frost kills the foliage back in autumn.
This article will give you more information on the plant's care:
https://www.gardeningknowhow.com/ornamental/bulbs/pineapple-lily/growing-pineapple-lilies.htm