That is why I am confused. If it’s a relatively current professor at your current school and you established a relationship with then yes, go for it. Many students will just walk by and if the door is open per se, just visit with the professor, as long as they have time. I am sure the professor would be glad you did. But why I am confused is why ask the question at all if you had a good relationship with them. My daughter just told me she did this exact thing on Thursday. The professor loved catching up with her and gave her some good advice since she will be graduating this year (finally
Lol).