Yes you can otherwise it would be discrimination. Even if your employer laid you off because you were pregnant it is discrimination as well.
Apparently you can, especially if you did not lose your job because you QUIT due to the pregnancy. Refer to the item "Does pregnancy affect my eligibility?" in the Related Link below. However, like other claimants, you have to be ready, willing and able to seek employment.(??)