No the rubber boot is not absolutely necessary, you can just coat the splines (not the top of the shaft, then it might make a hydrulic lock) with marine grease or antiseize compound.
The best is if you coat the splines with grease and put the boot back, that will make it much easier to disassemble the LU from the middleg next time.