If you’re male and you use a razor designed for females, it will remove hair, but it wouldn’t do a very good job.
This is because male razors are designed to shave the areas around the face, whereas female razors are designed to shave different body areas like the underarms and legs.