It is not illegal in any state for the employer to ask those questions about a former employee. You are free to refuse to answer the questions but of course the employer is also free to terminate you at any time too, so if the employer gets ticked off that you won’t provide the requested information you could find yourself looking for a new job.

