That depends on whether you have studied it carefully. If you just do it hastily and just play, there will be no obvious help. If the research is thorough and every chess game is considered thoroughly, it will be of great help to learn mathematics. Russia has always attached great importance to the educational function of chess.
However, if you want to improve your math scores, I suggest playing Go. Personally, I think it is better than chess.