The egg combined with the ricotta cheese acts a binder helping to hold the lasagna together while also adding a bit of creaminess. However, if you need to omit the egg you can. Your lasagna may just not hold together as well.