Evolution of the grain size distribution in Milky Way-like galaxies in post-processed IllustrisTNG simulations