Maternity pay is instead of salary. Therefore anything you usually had to pay with your salary, you have to pay with your maternity pay. So no, you dont get your rent paid for you.
_ the only proviso would be if you work in a job with accommodation included as part of the package, i.e if you dont pay rent for it at all normally.