If it gets proven that she lied or she confesses to lying about being raped, I think she should get some kind of prison sentence yes.
Think about it like this, she could ruin an innocent man, his whole life and reputation. He could lose his family, friends and effect his career. It also effects how rape cases are taken seriously and false claims use up resources that could be used for a real rape case. Also a prison sentence could stop others from doing the same thing, a deterrent in a sense.
If it's not proven she lied or confesses to lying, then that's another ball game. Either there's sufficient evidence or there isn't. Just because a man gets found innocent based on a lack of evidence, doesn't mean he's innocent. Same visa versa where there could be evidence due to consensual sex but there was no rape committed.
Think if a woman or man lies about being raped, you've also got to look at reasons behind it also. If it was solely to be malicious than you have to suggest there has to be some kind of mental illness surely? I just don't understand how someone could lie about a thing like that so maybe that's why I assume some kind of illness would be involved.