You mean learning where on the board which note is?
If so, then it might help to write down what you played - or even what you want to play.
It helps me to better know the names of the notes, as well as reading scores, when writing them.
And since that's what I want to do, getting to know the note names on the fretboard better, comes automatically as side-benefit while working on scores.
Before, I arrogantly did not bother about what the notes are called I want to play - as long as I play them

But it limited me when trying to transpose melodies for the violin - and of course when speaking to others.
So, it became my motivation to improve that - still, I was not fond of learning that seperately; I did not want to waste time. Fortunately, as I started writing melody and rhythm scores, I discovered that it also helped me remembering where which note is and what it is called.