In Mark 11:25, Jesus said, "Whenever you stand up to pray, if you have anything against anybody, forgive him, so that your Father in heaven may forgive you your trespasses."  (Moffatt Translation of the Bible)

In Matt. 6:6, Jesus said, "But thou, when thou prayest, enter into thy closet, and when thou hast shut thy door, pray to thy Father which is in secret; and thy Father which seeth in secret shall reward thee openly."

In Luke 18:1, 10-14, Jesus spake unto them a parable, as to it being needful always to pray, and said, "Two men went up to the temple to pray, one a Pharisee and the other a tax collector.  The Pharisee stood up and prayed about himself:  'God, I thank you that I am not like other men–robbers, evildoers, adulterers–or even like this tax collector.  I fast twice a week and give a tenth of all I get.'   But the tax collector stood at a distance.  He would not even look up to heaven, but beat his breast and said, 'God, have mercy on me, a sinner.'  I tell you that this man, rather than the other, went home justified before God.  For everyone who exalts himself will be humbled, and he who humbles himself will be exalted."  NIV

In other words, it matters not where one prays or in what position that one is in.  What God is looking for is that person's heart condition