pls help I will give brainliest

It should be Yes.
This is because most labs use a cloud of some sort for situations like his. So as long as John saved his work to the cloud in use, he should be able to access it after logging in.
Hope this helps, brainliest is appreciated :)
Have a great day!
~Mitsuna