Why must a website footer always span the entire width of the page?

I am currently completing an online design course, and while watching one of the set course videos, the instructor advised:

The [website] footer must always span the entire width of the screen.

However, no explanation was given as to why this might be. Does anyone know where this idea comes from and what the reasoning for it is?