Generally the Yucca’s are known for being used more as an outdoor plant rather than an indoor plant, but the Yucca Elephantipes has become very popular as an indoor plant due to its long sharp leaves which grow upwards and take up very little room inside the house.
Yucca’s are quite tolerant to wide range of temperatures and conditions, though ideally suited for outdoors, can be situated where there is natural sun light.