Yes, the phone will receive the most recent Android updates after rooting; but, because rooting requires installing a custom recovery atop the vanilla recovery, you will see an error message when trying to apply the update. To summarize, once you've rooted your phone, you won't be able to update it.