Where would a nebula be found?

It is found about 2500lightyears away A nebula can be found anywhere in deep space where a big star used to be before it went supernova