Is it ok to leave relay module permanently connected to mains power?

I would use as simple Mains line cord like you get on a lamp.