Definitely. I make it a point to ask my janitorial staff their name, address them by name, say hello, good bye, etc. In other words, show COMMON COURTESY.
I do the same to wait staff, which sort of freaks them out, of course, but that's a different story.
GOOD FOR YOU!! Showing common courtesy to others is a basic value my mother and father taught us. I appreciate you for doing that.