Spaying involves the removal of the ovaries, which are responsible for producing the hormones that regulate a cat's reproductive cycle, including milk production.
Therefore, a spayed cat will not experience the hormonal fluctuations that trigger lactation, and she will not be able to produce milk.