Yes. A spouse of a veteran can apply for a VA loan if they are:
A non-remarried surviving spouse of a veteran or service member who died in service or from a service-related disability
A spouse of a service member who is missing in action or a prisoner of war for the last 90 days
A surviving spouse of a veteran who was rated totally disabled and was eligible for disability compensation at the time of death from any cause