How can I define the distance between each layer, por example, 10mils between top layer and second, 15mils between this second and the third and so on?
Ultiboard doesn't have a setting for distance between the layers, if you need the layers to be a certain way, you should put it in a note on the mechanical layer and send this information to your PCB manufacturer.